package com.huike.service;

import com.huike.mapper.DispensingMapper;
import com.huike.pojo.Register;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DispensingService {
    @Autowired
    private DispensingMapper dispensingMapper;
    public List<Register> getRegisterList(){
        return dispensingMapper.getRegisterList();
    }
    public void addRegister(Register register) {
        dispensingMapper.addRegister(register);
    }

}
